1
00:00:00,220 --> 00:00:00,950
Let's talk.

2
00:00:00,950 --> 00:00:08,160
Broken access control which is a number five on our list now broken access control is kind of like this

3
00:00:08,400 --> 00:00:15,590
big catch all there's so many different vulnerabilities that can fall into this and you can see.

4
00:00:15,600 --> 00:00:18,060
Scroll down here and you can see there's quite a bit.

5
00:00:18,360 --> 00:00:24,370
What you need to know about broken access control is you really should know what it is at a high level.

6
00:00:24,510 --> 00:00:28,980
And that means that a user gets access to somewhere they shouldn't.

7
00:00:29,400 --> 00:00:30,900
It's as simple as that.

8
00:00:30,900 --> 00:00:40,930
Save for example that we have here a page and there is an admin section and we're not an ATM user.

9
00:00:40,930 --> 00:00:44,490
We should not be able to access that admin section right.

10
00:00:44,500 --> 00:00:51,100
That would be broken access control if a regular user like me is able to access the then panel of an

11
00:00:51,100 --> 00:01:01,150
admin or another one is maybe something like I d equals and then we say something like five and we're

12
00:01:01,150 --> 00:01:07,400
viewing our record or our page number of five and we see all of our details and data.

13
00:01:07,570 --> 00:01:15,400
Well we could reference a different object maybe six could be a different user I.D. or a different page

14
00:01:15,760 --> 00:01:19,930
and we see that but we're not supposed to see it right.

15
00:01:19,960 --> 00:01:22,990
That's a vulnerability that's broken access control.

16
00:01:22,990 --> 00:01:30,880
So there's so many different ways that we can exploit this and I'm going to show you one by want you

17
00:01:30,880 --> 00:01:36,340
to know what I want you to take away from this is the high level of what you're looking for in that

18
00:01:36,340 --> 00:01:39,350
is to be able to bypass access.

19
00:01:39,460 --> 00:01:47,500
We could do probably hours of material on just this concept but you are looking in thinking like an

20
00:01:47,500 --> 00:01:48,370
attacker right.

21
00:01:48,370 --> 00:01:53,700
So this is why specifically why we have and we're talking video.

22
00:01:53,860 --> 00:01:58,290
We have those three tiers the UN authenticated authenticated and admin.

23
00:01:58,290 --> 00:01:59,060
Right.

24
00:01:59,080 --> 00:02:06,340
You want to know if you can access admin areas or even other user areas from an account you want to

25
00:02:06,340 --> 00:02:07,360
break that access.

26
00:02:07,360 --> 00:02:09,520
That's how you find these vulnerabilities.

27
00:02:09,520 --> 00:02:11,940
So there's a lot of different ways to do this.

28
00:02:11,950 --> 00:02:19,390
What I'm describing here is good examples you can like it says you know access a Web page like we just

29
00:02:19,390 --> 00:02:22,390
talked about or what I'm showing you you know going from five to six.

30
00:02:22,390 --> 00:02:27,200
That's what's called an eye door or an insecure Direct Object reference.

31
00:02:27,340 --> 00:02:32,220
We shouldn't be able to see somebody else's information unless we're meant to see it.

32
00:02:32,230 --> 00:02:32,900
OK.

33
00:02:33,070 --> 00:02:35,470
So I want you to read over this page.

34
00:02:35,540 --> 00:02:39,540
I want you to get familiar with this kind of understand how to prevent.

35
00:02:39,610 --> 00:02:44,320
So everything's a little bit different depending on the vulnerability and how you should prevent it

36
00:02:44,650 --> 00:02:52,450
but what it boils down to is that you need to ensure that your users do not have access to anything

37
00:02:52,450 --> 00:02:53,620
that they should not.

38
00:02:53,620 --> 00:02:54,900
Right.

39
00:02:54,940 --> 00:02:59,370
So let's go ahead and take a look in the next video an example.

40
00:02:59,380 --> 00:03:02,020
But I want you to read over this gif familiar with it.

41
00:03:02,020 --> 00:03:08,160
Be able to understand in an interview you know what you're after.

42
00:03:08,160 --> 00:03:10,990
If somebody says Hey can you explain broken access control to me.

43
00:03:10,990 --> 00:03:15,220
You say Yeah you know here's an example or here's another example.

44
00:03:15,250 --> 00:03:20,950
So read through this for sure and then again as always I'll post the reference down in the reference

45
00:03:20,950 --> 00:03:22,330
below for this Web site.

46
00:03:22,480 --> 00:03:27,790
So I'll catch you over the next video and we take a look at something that I find quite often in web

47
00:03:27,790 --> 00:03:28,210
apps.
